﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace VisionCloud.Core.Model.Ms
{
    [Table("MsProTag")]
    public partial class MsProTag
    {
        /// <summary>
        /// 标签Id
        /// </summary>
        [Key]
        [Column(TypeName = "uuid")]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid TagId { get; set; }

        /// <summary>
        /// 标签名
        /// </summary>
        [Required]
        [Column(TypeName = "varchar(64)")]
        public string TagName { get; set; }

        /// <summary>
        /// 标签使用数
        /// </summary>
        [Required]
        [Column(TypeName = "int")]
        public int QuoteNum { get; set; }
    }
}